package com.smarth.zhizulian.app;

/**
 * Created by KUMA on 2017/8/8.
 */

public class BaseConfig {
    public final static boolean IS_DEBUG = true;
    public final static int PAGE_SIZE = 20;

    public class EventTag {
        public static final String RELOGIN = "RELOGIN";               //重新登录
        public static final String ON_LOGIN = "ON_LOGIN";               //登录了
        public static final String ON_EDIT = "ON_EDIT";               //修改个人资料
        public static final String ON_LOGOUT = "ON_LOGOUT";               //退出登录
        public static final String ON_GETMONEY = "ON_GETMONEY";               //提现后
        public static final String ON_FINISHMISSION = "ON_FINISHMISSION";        //完成任务
        public static final String SHOW_HIGH = "SHOW_HIGH";             //跳转到高价文
        public static final String EDIT_FAVORITE = "EDIT_FAVORITE";     //编辑收藏
        public static final String CANCELEDIT_FAVORITE = "CANCELEDIT_FAVORITE";     //取消收藏
        public static final String ON_CLEAR_MESSAGE = "ON_CLEAR_MESSAGE";  //清空消息
        public static final String ON_DEAL_NOTICE = "ON_DEAL_NOTICE";  //刷新我的页面
    }

    public class EventCode {
        public static final int SHOW_INVITEDICIPLE = 1; //显示邀请收徒页面
        public static final int REFRESH = 2;    //刷新首页
        public static final int ON_FINISH_HONGBAORAIN = 3;    //获得红包数量
        public static final int SHOW_ARTICLE = 4;    //展示文章列表页
        public static final int REFRESH_HONGBAO = 5;    //刷新红包页面
        public static final int FAVORITE_CANCEL_REFRESH = 6;
        public static final int FAVORITE_CANCEL_NOREFRESH = 7;
        public static final int SHOW_HIGH = 8;  //显示高价文
        public static final int SHOW_FIRST = 9;  //显示第一页
        public static final int ON_GET_MINE = 10;  //获取到我的页面信息
    }

    public class SP {
        public static final String PREFERENCES_DEFAULT_NAME = "bz";
        public static final String TOKEN = "TOKEN";
        public static final String TODAY_DATE = "TODAY_DATE";
        public static final String ONCE_LOGIN = "ONCE_LOGIN";       //曾经登陆过
        public static final String TODAY_DATE_ACTIVITY = "TODAY_DATE_ACTIVITY"; //最后一次弹活动弹窗时间
        public static final String TODAY_DATE_SIGN = "TODAY_DATE_SIGN"; //最后一次弹活动弹窗时间
    }

    public class Constant {
        public static final String AD = "广告位招租 广告位招租 广告位招租 广告位招租 广告位招租";
        public static final String SHARE_WX_APPID = "wx34c4210974eb3aae";
        public static final String TASK_SHOWMONEY = "SHOWMONEY";
        public static final String TASK_LUCKYMONEY = "LUCKYMONEY";
        public static final String TASK_SHAREARTICLE = "SHAREARTICLE";
        public static final String TASK_SHAREARTICLECIRCLE = "SHAREARTICLECIRCLE";
    }

    public class ACache {
        public static final String CATEGORIES = "CATEGORIES";
        public static final String CATEGORIES_VIDEO = "CATEGORIES_VIDEO";
        public static final String NEWS = "NEWS_1";
        public static final String VIDEO = "VIDEO_1";
        public static final String SHARE_QQ = "SHARE_QQ";
    }

    public class NetWork {
        public static final String CODE_TOKENEXPIRED = "2004";
        public static final String CODE_ALREADYSIGN = "2005";
        public static final String CODE_GETONE = "4000";    //完成日常任务即可一元提现
//        public static final String BASE_URL = "http://47.104.24.180/newapp/";   //测试
        //                public static final String BASE_URL = "http://10.0.0.11:8088/newapp/";   //宏伟
//        public static final String BASE_URL = "http://10.0.0.9:8098/newapp/";   //刘猛1
        public static final String BASE_URL = "http://www.mainsm.com/newapp/";   //正式
//                public static final String BASE_URL = "http://www.mainsm.com/testapp/";   //正式test
        public static final String BASE_ENCRYPTURL = BASE_URL + "ende/a";
        public static final String LOGO = "http://oqb17npni.bkt.clouddn.com/image/logo17_12_30_17_41_30.jpg";
        public static final String URL_ARTICLE = "http://h5.pbpaa.cn/news-detail.html?id=";   //正式
        public static final String URL_VIDEO = "http://h5.pbpaa.cn/video-detail.html?id=";       //正式
        public static final String URL_ACTIVITY = "http://h5.pbpaa.cn/wx/invite.html";       //正式
//        public static final String URL_STANDARD = "http://10.0.0.14:8080/rule.html";
//        public static final String URL_STANDARD = "http://10.0.0.14:8080/rule.html";
        public static final String URL_RULE = "http://h5.pbpaa.cn/rule.html";
//        public static final String URL_DRAW = "http://www.mainsm.com/h5/user/choujiang.html";
        public static final String URL_DRAW = "http://h5.pbpaa.cn/user/choujiang.html";
        public static final String URL_AGREEMENT = "http://h5.pbpaa.cn/user/agreement.html";
        public static final String URL_HONGBAORULE = "http://h5.pbpaa.cn/redRainRule.html";
        public static final String URL_MEMBER = "http://h5.pbpaa.cn/user/member.html";
//        public static final String URL_MEMBER = "http://10.0.0.14:8080/user/member.html";

    }

    public class ApiCode {
        public static final String LUCKY_SHARE = "3001";
        public static final String LUCKY_ENERTY = "3002";
        public static final String LUCKY_NORE = "3003";
        public static final String LUCKY_TIME = "3004";
    }

}
